package com.jeesite.modules.exam.quota.dao;

import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.exam.quota.entity.DcSupExamQuotaInfo;
import com.jeesite.modules.exam.quota.entity.DcSupExamQuotaInfoExportDan;
import com.jeesite.modules.exam.quota.entity.DcSupExamQuotaInfoExportKey;
import com.jeesite.modules.exam.quota.entity.DcSupExamQuotaOrg;

import java.util.List;

/**
 * 考核任务指标表-指标信息DAO接口
 * @author xhc
 * @version 2022-05-28
 */
@MyBatisDao
public interface DcSupExamQuotaInfoDao extends CrudDao<DcSupExamQuotaInfo> {

    List<DcSupExamQuotaInfo> listKeyData(DcSupExamQuotaInfo dcSupExamQuotaInfo);

    List<DcSupExamQuotaOrg> listDanOrgData(DcSupExamQuotaOrg dcSupExamQuotaOrg);

    void deleteQuotaOrg(DcSupExamQuotaInfo dcSupExamQuotaInfo);

    List<DcSupExamQuotaInfoExportDan> listDanExportData(DcSupExamQuotaInfo dcSupExamQuotaInfo);

    List<DcSupExamQuotaInfoExportKey> listKeyExportData(DcSupExamQuotaInfo dcSupExamQuotaInfo);

    List<DcSupExamQuotaInfo> findDcSupExamQuotaInfoList(DcSupExamQuotaInfo dcSupExamQuotaInfo);

    DcSupExamQuotaInfo findQuotaInfoExamId(String quotaContent, String examId,String createOrg);

    List<DcSupExamQuotaInfo> findValidationOrgList(DcSupExamQuotaInfo dcSupExamQuotaInfo);

    List<DcSupExamQuotaInfo> findExamQuotaInfoList(DcSupExamQuotaInfo dcSupExamQuotaInfo);
}